fname=input("请输入文件名称：")
f=open(fname,"r",encoding='utf-8')
txt=f.read()
print(txt)
f.close()